Skip to main content

FrontInstanceReference

Wolfram Kernel
Execution environment
Notebook`Editor`Kernel`FrontSubmitService`
Context
FrontInstanceReference[] _FrontInstanceReference

or

FrontInstanceReference[uid_String] _FrontInstanceReference

constructs an instance reference object, which can be used to refer the execution context on the frontend in order to evaluate new expressions within it.

Methods

FrontSubmit

FrontSubmit[expr_, _FrontInstanceReference, opts___]

For example to add a new object on a scene

scene = FrontInstanceReference[];
Plot[x, {x,0,1}, Epilog->{scene}]

Then one can dynamically add new object

FrontSubmit[{RandomColor[], Disk[{.5,.5},.2]}, scene];

FrontFetch

FrontFetchAsync

FrontFetchAsync[expr_, _FrontInstanceReference, opts___]